How to get curl of an API using postman